<!-- form表单视图 -->
<div style="margin-top:30px">
    <form class="form-horizontal common-form" id="form-save" method="post" action="/sysconf/areas/save" onsubmit="return false;" autocomplete="off">
    <input type=hidden value="{{$row['area_id'] ?? ''}}" name="area_id" id="area_id">
        <div class="form-group row form-item">
            <label style=" font-weight: normal" for="c-area_name" class="control-label col-xs-12 col-sm-2">
                 所属上级：</label>
            <div class="col-xs-12 col-sm-10">
                <div class="row" style="position: relative;top:4px">
                    @component('component/areas')
                    @endcomponent
                </div>
                <span class="msg-box" style="position:static;" for="area_name"></span>
            </div>
        </div>
        <div class="form-group row form-item">
            <label style=" font-weight: normal" for="c-area_name" class="control-label col-xs-12 col-sm-2">
            <span style="color:red">*</span> 区域名称：</label>
            <div class="col-xs-12 col-sm-10">
                <div class="row">
                    <input id="area_name" class="form-control col-sm-5" name="area_name" type="text" value="{{$row['area_name'] ?? ''}}" placeholder="" data-rule="区域名称:required">
                    <span class="col-sm-7 color-6A6969"> 区域地址必须。</span>
                </div>
                <span class="msg-box" style="position:static;" for="area_name"></span>
            </div>
        </div>
        <div class="form-group row form-item">
            <label style=" font-weight: normal" for="c-area_code" class="control-label col-xs-12 col-sm-2">
                <span style="color:red">*</span> 区域编码：</label>
            <div class="col-xs-12 col-sm-10">
                <div class="row">
                    <input id="area_code" class="form-control col-sm-5" name="area_code" type="text" value="{{$row['area_code'] ?? ''}}" placeholder="" data-rule="区域编码:required">
                    <span class="col-sm-7 color-6A6969"> 区域编码。</span>
                </div>
                <span class="msg-box" style="position:static;" for="area_code"></span>
            </div>
        </div>
        <div class="form-group row form-item">
            <label style=" font-weight: normal" for="c-area_code" class="control-label col-xs-12 col-sm-2">
                经度：</label>
            <div class="col-xs-12 col-sm-10">
                <div class="row">
                    <input id="longitude" class="form-control col-sm-5" name="longitude" type="text" value="{{$row['longitude'] ?? ''}}" placeholder="" >
                    <span class="col-sm-7 color-6A6969"> 经度。</span>
                </div>
                <span class="msg-box" style="position:static;" for="longitude"></span>
            </div>
        </div>
        <div class="form-group row form-item">
            <label style=" font-weight: normal" for="c-area_code" class="control-label col-xs-12 col-sm-2">
                纬度：</label>
            <div class="col-xs-12 col-sm-10">
                <div class="row">
                    <input id="latitude" class="form-control col-sm-5" name="latitude" type="text" value="{{$row['latitude'] ?? ''}}" placeholder="" >
                    <span class="col-sm-7 color-6A6969"> 纬度</span>
                </div>
                <span class="msg-box" style="position:static;" for="area_code"></span>
            </div>
        </div>

    </form>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-3F51B5 btn-sure btn-submit">确定</button>
            &nbsp;&nbsp;&nbsp;&nbsp;
            <button type="reset" class="btn btn-write btn-reset">重置</button>
        </div>
    </div>
</div>

